<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <meta name="author" content="">
    <title>管理员登录</title>
    <!-- Bootstrap core CSS -->
    <link th:href="@{/asserts/css/bootstrap.min.css}" href="asserts/css/bootstrap.min.css" rel="stylesheet">
    <!-- Custom styles for this template -->
    <link th:href="@{/asserts/css/signin.css}" href="asserts/css/signin.css" rel="stylesheet">
</head>

<body class="text-center">

        <form th:action="@{/adminLogin.do}" class="form-signin"   method="post">
            <img class="mb-4" src="asserts/img/ysu1.jpg" alt="" width="72" height="72">
            <h2>校园电动车<span style="color: red;">管理系统</span></h2>
            <label class="sr-only">学校</label>
            <input type="text" class="form-control" name="universityName" placeholder="某某大学" required="" autofocus="">
            <label class="sr-only">学号</label>
            <input type="text" class="form-control" name="username" placeholder="工号" required="" autofocus="">
            <label class="sr-only">密码</label>
            <input type="password" class="form-control" name="password" placeholder="密码" required="">

            <div>
                <span>&nbsp;</span>
            </div>
            <!--<div class="checkbox mb-3">
                <label>
                    <input type="checkbox" value="remember-me"> 记住密码
                </label>
            </div>-->
            <button class="btn btn-lg btn-primary btn-block" type="submit">登录</button>
            <p class="mt-5 mb-3 text-muted">zhaodongxu2022@qq.com</p>
            <a name="messege" th:text="${session.loginMessage}" style="color:#ff0000"></a>
        </form>

</body>

</html>